package com.ssu.judea.travlog.vo;

import org.json.JSONException;
import org.json.JSONObject;

public class Result {
	private String result;
	private String message;
	
	public void setResult(String result) {
		this.result = result;
	}
	public String getResult() {
		return result;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public String getMessage() {
		return message;
	}
	
	public String toJSONString(){
		JSONObject json = new JSONObject();
		try{
		json.put("result", result);
		json.put("message", message);
		}catch(JSONException e){
			return "";
		}
		return json.toString();
	}
	
}
